import java.awt.*;

class HarmfulFactory implements GameElementFactory {
    public GameElement createElement(int x, int y) {
        return new Harmful(x, y, 15, Color.RED, -15, 8f);
    }

    @Override
    public float getSpawnWeight() {
        return 0.5f;
    }

}
